// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './js/rem'
import './css/common.scss'
import axios from 'axios'
// Vue.prototype.$http = axios
import VueResource from 'vue-resource';  
Vue.use(VueResource)  
import VueLazyLoad from 'vue-lazyload'
Vue.use(VueLazyLoad,{
  // error:'./static/error.png',
  loading:'./static/timg.gif'
}) 


Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})

// if(window.sessionStorage){
//   console.log("yes");
// }else{
//   console.log("no");
// }